
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link rel="stylesheet" href="css/follow.css"/>
    </head>
    <body>
        <div id='bodycolor'>
        <ul>
            <li><a href="index.php"> Αρχική σελίδα</a></li>
             <li><a href="user.php"> Το προφίλ μου</a></li>
              <li><a href="logout.php"> Αποσύνδεση</a></li>
        </ul>
        <?php
        include_once 'Classes/UserUtils.class.php';
        include_once 'Classes/FollowingsTemplate.class.php';
        session_start();

        $loggedUser = $_SESSION['userId'];
        $followings = UserUtils::getFollowings($loggedUser);
        $followingsTemplate = new FollowingsTemplate();
        $followingsTemplate($followings);
        ?>
        </div>
    </body>
</html>


